﻿using System;

namespace Jerkymon.Data
{
    [AttributeUsage(AttributeTargets.Property)]
    public class ConversionAttribute : Attribute
    {
		#region Fields (3)
		private bool m_allowDbNull;
		private bool m_dataTableConversion;
		private bool m_keyField;
		#endregion

		#region Properties (3)
		public bool AllowDbNull
        {
            get { return m_allowDbNull; }
            set { m_allowDbNull = value; }
        }
		public bool DataTableConversion
        {
            get { return m_dataTableConversion; }
            set { m_dataTableConversion = value; }
        }
		public bool KeyField
        {
            get { return m_keyField; }
            set { m_keyField = value; }
        }
		#endregion

		#region Constructors (1)
		public ConversionAttribute() { }
		#endregion
    }
}
